﻿package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SSunBathPlayerInfo extends IMessageBase
    {
        public var performTime:int;
        public var performPiece:int;
        public var performCount:int;
        public var shootCount:int;
        public var kissCount:int;
        public const _type:int = 5032;
        public static var _regist:SSunBathPlayerInfo = new SSunBathPlayerInfo(true);

        public function SSunBathPlayerInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SSunBathPlayerInfo();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.performTime);
            param1.writeInt(this.performPiece);
            param1.writeInt(this.performCount);
            param1.writeInt(this.shootCount);
            param1.writeInt(this.kissCount);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.performTime = param1.readInt();
            this.performPiece = param1.readInt();
            this.performCount = param1.readInt();
            this.shootCount = param1.readInt();
            this.kissCount = param1.readInt();
            return;
        }// end function

    }
}
